package org.shop.dao;

import java.util.List;
import java.util.Map;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.Attention;

public interface AttentionMapper extends BaseDaoMapper<Attention, Long>{
	
	/**
	 * 获取我关注的对象
	 * @param attention
	 * @return
	 */
	public List<Attention> getAtternionList(Attention attention);
	/**
	 * 获取我关注的人
	 * @param attention
	 * @return
	 */
	public List<Attention> getAtternionUserList(Attention attention);
	/**
	 * 获取我关注的店铺
	 * @param attention
	 * @return
	 */
	public List<Attention> getAtternionShopList(Attention attention);
	
	
	/**
	 * 获取登录人的关注数量和粉丝数量
	 * @param paramMap
	 * @return
	 */
	public int getMyFocusAndFansCount(Map<String,Object> paramMap);
	
}